﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace DB_NH.DB_Common
{
    /// <summary>
    /// 专家库常量静态类
    /// </summary>
    public static class ZJKConst
    {
        /// <summary>
        /// 专家停用状态
        /// </summary>
        public enum EXP_STOP_STATUS
        {
            /// <summary>
            /// 在用
            /// </summary>
            USED = 1,
            /// <summary>
            /// 停用
            /// </summary>
            unUSED = 255
        };

        public static List<SelectListItem> EXP_STOP_STATUS_ToSelectList()
        {
            List<SelectListItem> _returnValue = new List<SelectListItem>();
            _returnValue.Add(
                new SelectListItem()
                {
                    Value = "1",
                    Text = "在用",
                    Selected = true
                });

            _returnValue.Add(
                new SelectListItem()
                {
                    Value = "255",
                    Text = "停用"
                });
            return _returnValue;
        }


    }
}